<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="login.LoginVo" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
#search_result_id{
	width: 500px;
	height: 350px;
	
	padding-top: 50px;
}

.se_id_res{
	width: 100px;
	height: 62px;
	color: white;
	font-size: 20px;
	font-weight: bold;
	background-color: #C90000;
	border:0.5px solid white;
	border-radius: 10px;
	margin-top: 50px;
	
}

#se_id_res_login{
	background-image: url('../images/searid_login.png');
	background-size:100% 100%;
	margin-right: 20px;
}

#se_id_res_home{
	background-image: url('../images/searid_home.png');
	background-size:100% 100%;
}

label{
	font-size: 30px;
	font-family: 'Nanum Gothic', sans-serif;
}


</style>
</head>
<body>
<jsp:useBean id="bean" class="login.Login"></jsp:useBean>
<jsp:setProperty property="*" name="bean"/>
<div id="search_result_id">
<%
	LoginVo l = bean.search_id();
	if(l == null){%>
		<script>
			alert("아이디가 존재하지 않습니다.");
			location.href='Main.jsp?inc_content=../login/search_id.jsp';
		</script>
	<% }else{ %>
	<label>당신의 아이디는 '<%=l.getMid() %>' 입니다. </label>
	<p/>
		<input type='button' id = 'se_id_res_login' class='se_id_res' onclick="location.href='Main.jsp?inc_content=../ColdEyes/log.jsp'">
		<input type='button' id = 'se_id_res_home' class='se_id_res' onclick="location.href='Main.jsp'">
	<%}%>
</div>
</body>
</html>